.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
  background-image: url('https://img.freepik.com/free-photo/workspace-workplace-office-table_144627-40148.jpg');
  background-size: cover;
  background-position: center;
  padding: 20px;
  position: relative;
}

/* 注册页面语言选择器样式 */
.register-container .login-language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.register-container .login-language-selector .language-selector-trigger {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.98) 100%) !important;
  backdrop-filter: blur(15px) !important;
  border: 3px solid rgba(24, 144, 255, 0.7) !important;
  box-shadow: 0 8px 24px rgba(24, 144, 255, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.9) !important;
}

.register-container .login-language-selector .language-selector-trigger:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(230, 247, 255, 1) 100%) !important;
  border-color: rgba(24, 144, 255, 0.9) !important;
  box-shadow: 0 12px 32px rgba(24, 144, 255, 0.4), inset 0 3px 0 rgba(255, 255, 255, 0.95) !important;
  transform: translateY(-3px) !important;
}

.register-form-wrapper {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 1);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.register-form {
  padding: 24px;
}

.register-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.register-header h2 {
  font-size: 22px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.login-link {
  color: #1890ff;
  text-decoration: none;
  font-size: 14px;
}

.login-link:hover {
  text-decoration: underline;
}

.register-type-selector {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.register-type-option {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 15px;
  color: #666;
  position: relative;
  transition: all 0.3s;
}

.register-type-option.active {
  color: #1890ff;
  font-weight: 500;
}

.register-type-option.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1890ff;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.form-group input, .form-group select {
  width: 100%;
  height: 42px;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  border-color: #1890ff;
}

.verification-group .verification-input-group {
  display: flex;
}

.verification-code-btn {
  min-width: 120px;
  margin-left: 10px;
  border: 1px solid #1890ff;
  background-color: white;
  color: #1890ff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.verification-code-btn:hover {
  background-color: rgba(24, 144, 255, 0.1);
}

.verification-code-btn:disabled {
  border-color: #d9d9d9;
  color: #d9d9d9;
  cursor: not-allowed;
}

.error-message {
  display: block;
  color: #ff4d4f;
  font-size: 12px;
  margin-top: 6px;
}

.password-group {
  position: relative;
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  font-size: 16px;
}

.password-strength {
  display: flex;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.strength-label {
  font-size: 12px;
  color: #666;
  margin-right: 8px;
}

.strength-value {
  font-size: 12px;
  margin-right: 10px;
  font-weight: 500;
}

.strength-meter {
  flex: 1;
  height: 4px;
  background-color: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  transition: width 0.3s, background-color 0.3s;
}

.password-rules {
  margin: 15px 0;
  font-size: 12px;
  color: #999;
}

.rule {
  margin-bottom: 6px;
}

.rule.valid {
  color: #52c41a;
}

.register-btn {
  width: 100%;
  height: 44px;
  background-color: #1890ff;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.register-btn:hover {
  background-color: #40a9ff;
}

.third-party-register {
  margin-top: 30px;
}

.divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: #999;
  font-size: 14px;
}

.divider:before, .divider:after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e8e8e8;
}

.divider span {
  padding: 0 16px;
}

.third-party-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.third-party-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.third-party-icon:hover {
  transform: scale(1.1);
}

.wechat {
  background-color: #07C160;
  color: white;
}

.qq {
  background-color: #12B7F5;
  color: white;
}

.agreement {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

.agreement a {
  color: #1890ff;
  text-decoration: none;
}

.agreement a:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .register-form-wrapper {
    max-width: 100%;
  }
  
  .verification-code-btn {
    min-width: 100px;
    font-size: 13px;
    padding: 0 5px;
  }
} 